home *** CD-ROM | disk | FTP | other *** search
- -- card: 16637 from stack: in
- -- bmap block id: 16851
- -- flags: 0000
- -- background id: 5931
- -- name: yeslead
- ----- HyperTalk script -----
- on opencard
- global time1
- global Silver
- global Mercury
- global Lead
- global key
- put empty into bkgnd field "info"
- hide card field "info2"
- put empty into card field "info1"
- show card field "info1"
- put "Click Here to" into line 2 of card field "info1"
- put "Continue When Ready" into line 3 of card field "info1"
- show card button "info1"
- set the highlight of card button "info1" to true
- end opencard
-
-
-
-
-
- on check
- global Silver
- global Mercury
- global Lead
- global reagent
- global route
- global score
- if reagent = "Ammonia" and Mercury = "Mercury" then
- go to card "yesMercury"
- put "Result of Adding Ammonia " into line 1 of bkgnd field "info"
- put "Formation of Grey Precipitate" into line 2 of bkgnd field "info"
- end if
-
- if reagent = "Ammonia" and Mercury <> "Mercury" then
- go to card "noMercury"
-
- end if
-
- if reagent<> "Ammonia" then
- put score + 10 into score
-
- put empty into bkgnd field "info"
- put "Please Try Again" into line 1 of bkgnd field "info"
- put "or Examine Flow Chart" into line 2 of bkgnd field "info"
- repeat 2
- set the highlight of card button "flow Chart" to true
- wait 1 second
- set the highlight of card button "flow Chart" to false
- wait 1 second
- end repeat
-
- end if
-
- end check
-
-
-
-
- -- part 4 (field)
- -- low flags: 81
- -- high flags: 0004
- -- rect: left=0 top=20 right=178 bottom=387
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 21
- -- text size: 24
- -- style flags: 0
- -- line height: 32
- -- part name: note
-
-
- -- part 11 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=3 top=44 right=106 bottom=54
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Hydrochloric Acid
- ----- HyperTalk script -----
- on mouseUp
- global route
- global reagent
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 12 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=64 top=44 right=106 bottom=115
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Nitric Acid
- ----- HyperTalk script -----
- on mouseUp
-
- global reagent
-
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 13 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=125 top=44 right=106 bottom=176
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Distilled Water
- ----- HyperTalk script -----
- on mouseUp
-
- global reagent
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 14 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=184 top=44 right=106 bottom=235
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Potassium Dichromate
- ----- HyperTalk script -----
- on mouseUp
- global route
- global reagent
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 15 (button)
- -- low flags: 00
- -- high flags: 2000
- -- rect: left=246 top=44 right=106 bottom=297
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Ammonia
- ----- HyperTalk script -----
- on mouseUp
- global route
- global reagent
- global lastClick
-
- if the seconds - lastClick < 4 then exit mouseup
- else put the seconds into lastClick
- get the short name of me
- put it into reagent
- check
-
-
- end mouseUp
-
-
-
- -- part 22 (field)
- -- low flags: 81
- -- high flags: 0000
- -- rect: left=389 top=212 right=283 bottom=507
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: hold
-
-
- -- part 29 (field)
- -- low flags: 81
- -- high flags: 0001
- -- rect: left=161 top=212 right=319 bottom=195
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: f
-
-
- -- part 36 (button)
- -- low flags: 00
- -- high flags: 8002
- -- rect: left=434 top=205 right=254 bottom=509
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Flow Chart
- ----- HyperTalk script -----
- on mouseUp
- push card
- go to card id 7591
- put 1 into zz
- repeat until zz = 4
- set the highlight of card button step4 to true
- wait 30
- set the highlight of card button step4 to false
- wait 30
- put zz+1 into zz
- end repeat
-
- end mouseUp
-
-
-
- -- part 38 (field)
- -- low flags: 81
- -- high flags: 0004
- -- rect: left=1 top=112 right=205 bottom=390
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 3
- -- text size: 14
- -- style flags: 256
- -- line height: 18
- -- part name: Message
- ----- HyperTalk script -----
- on mouseup
- hide card field "message"
- end mouseup
-
-
-
- -- part 40 (field)
- -- low flags: 01
- -- high flags: 0004
- -- rect: left=2 top=184 right=296 bottom=159
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 21
- -- text size: 18
- -- style flags: 0
- -- line height: 24
- -- part name: info1
-
-
- -- part 41 (button)
- -- low flags: 00
- -- high flags: 0000
- -- rect: left=0 top=115 right=172 bottom=383
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: cv2
-
-
- -- part 44 (button)
- -- low flags: 00
- -- high flags: 4000
- -- rect: left=0 top=184 right=298 bottom=157
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: info1
- ----- HyperTalk script -----
- on mouseUp
- set the highlight of card button "info1" to false
- Hide card button "info1"
- Hide card field "info1"
- show card field "info2"
- put "Ready for Next Reagent" into bkgnd field "info"
- end mouseUp
-
-
-
- -- part 45 (field)
- -- low flags: 81
- -- high flags: 0001
- -- rect: left=238 top=193 right=330 bottom=394
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 3
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: info2
-
-
- -- part contents for card part 4
- ----- text -----
- Please Wait While
- Computer Selects
- an Unknown for You
- to Analyze
-
- -- part contents for card part 38
- ----- text -----
- Check Flow Chart
-
- Centrifuge not used
-
- at this time
-
- -- part contents for card part 40
- ----- text -----
-
- Click Here to
- Continue When Ready
-
- -- part contents for background part 8
- ----- text -----
- Result of Adding Potassium Dichromate
- Formation of Yellow Precipitate